# -*- coding: UTF-8 -*- #
"""
-------真正的勇士， 敢于直面惨淡的Warning、 敢于正视淋漓的Error-----
@author : 贾鹏博
@file : user.py
@time : 2022/5/12 10:10
"""

import requests


def user_info(host,token):
    url = host + 'pub/api/v1/web/user_info'
    headers = {'token':token}
    r = requests.get(url=url,headers=headers)
    return r